using MicroMsg.Common.Event;
using System;
namespace MicroMsg.Storage
{
	public class BConversationStorage : StorageMemory<BConversation, string>
	{
		public BConversationStorage() : base((BConversation c) => c.strUsrName)
		{
		}
		public void clearAll()
		{
			base.clear(false);
		}
		public override void notify(int operation, BConversation item)
		{
			EventCenter.postCombineEvent(EventConst.ON_STORAGE_BCONVERSATION_ADD + operation, item);
		}
	}
}
